/**
 * 
 */
package com.huarui.desktop.service;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import com.huarui.desktop.model.Desktop;
import com.huarui.desktop.model.DesktopJsModule;
import com.huarui.desktop.model.DesktopMenu;

/**
 * @author peng.sunp
 *
 */
public interface DesktopService {

	public Desktop getOwnDesktop();
	
	public List<DesktopJsModule> getOwnDesktopJsModules(Integer desktopId,Collection<DesktopMenu> desktopMenus);
	
	public Map<Integer,DesktopMenu> getDesktopMenus(Integer desktopId);

	public List<Integer> getOwnPermissionIds();
}
